package com.rickpan.dto.chat;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

/**
 * 创建会话请求DTO
 */
@Data
public class CreateSessionRequest {
    
    @Size(max = 200, message = "会话标题不能超过200个字符")
    private String title = "新对话";
    
    @NotBlank(message = "模型不能为空")
    @Size(max = 100, message = "模型名称不能超过100个字符")
    private String model;

    // 手动添加getter方法以确保编译通过
    public String getTitle() {
        return title;
    }

    public String getModel() {
        return model;
    }
}
